﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="ExtendedMvc.ModelViewPage<ExtendedMvc.WebTest.Model.Entities.User>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">Index</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

	<h2>Index</h2>

	<fieldset>
		<legend>New Way</legend>
		<div>
			<%: Html.DisplayText(m => m.Id).AddLabel().Render()%>
		</div>
		<div>
			<%: Html.DisplayText(m => m.Name).AddLabel().Render()%>
		</div>
		<div>
			<%: Html.DisplayText(m => m.Email).AddLabel().Render()%>
		</div>
		<div>
			<%: Html.DisplayText(m => m.Deleted).AddLabel().Render()%>
		</div>
	</fieldset>

	<p>
		<%: Html.ActionLink("Edit", "Edit", routeValues: new { id = Model.Id }).Render()%> |
		<%: Html.ActionLink("Back to List", "List").Render()%>
	</p>

</asp:Content>

